package lab01;
import  java.util.*;


public class Excise01 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入用户的名字");
        String name=in.next();
        Employee employee=new Employee();
        employee.setName(name);
        System.out.printf("请输入用户的年龄");
        int age= in.nextInt();
        employee.setAge(age);
        System.out.printf("请输入用户的地址");
        String address=in.next();
        employee.setAddress(address);
        System.out.println(employee.toString());
    }
}
/*
请输入用户的名字
aa
请输入用户的年龄20
请输入用户的地址aaa
Employee{name='aa', age=20, address='aaa'}

Process finished with exit code 0
 */